package com.cdtye.itps.cms.dao.dict.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@ApiModel("字典表")
@Data
@Accessors(chain = true)
@TableName("SYS_DICTIONARY")
public class SysDictionary {

    @TableField("DICTIONARY_ID")
    private String dictionaryId;

    @TableField(value ="CREATE_DATETIME", fill = FieldFill.INSERT)
    private Date createDatetime;

    @TableField(value ="CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @TableField("DT_ID")
    private String dtId;

    @TableField("ITEM_NAME")
    private String itemName;

    @TableField("ITEM_VALUE")
    private String itemValue;

    @TableField("MEMO")
    private String memo;

    @TableField("ORDER_NUM")
    private Long orderNum;

    @TableField("STATUS")
    private String status;

    @ApiModelProperty("更新时间")
    @TableField(value ="UPDATE_DATETIME",fill = FieldFill.INSERT_UPDATE)
    private Date updateDatetime;

    @ApiModelProperty("更新人")
    @TableField(value ="UPDATE_BY",fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @TableField(value ="IS_SYSTEM")
    private String isSystem;


}
